package com.controll;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

import com.service.BookShopService;

@Controller
public class BookShopControl {
	
	@Autowired
	private BookShopService bookShopServiceImpl;
	
	public void saleBook(){
		System.out.println(bookShopServiceImpl);
		bookShopServiceImpl.saleBook("tom", "1001");
	}
	
}
